<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>list</title>
</head>
<body>
<h1>{{data}}</h1>
<h1>{{data['name']}}</h1>
<h1>{{data.name}}</h1>
 {% for item in data.mylist%}
  <p class="result-item">{{ item }}</p>
{% endfor %}

<h1>{{data.mylist|li2}}</h1>

</body>
</html>